<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<style>
    *{
        margin: 0;padding: 0;
    }
    #bar{
        background: greenyellow;
    }
    ul{
        list-style: none;
    }
    ul li{
        float: right;
        margin-right: 10px;
    }
</style>
<body>
<div id="bar">
    <ul>
        <li>登录</li>
        <li>注册</li>
        <li>找回密码</li>
        <li>关于我们</li>
        <li>加入我们</li>
    </ul>
</div>
</body>
</html>